	 <script src="${ctx}/plugins/jquery-extensions/jquery/jquery-1.11.1.min.js" type="text/javascript"></script>
     
    <link href="${ctx}/plugins/jquery-extensions/jquery-easyui-theme/metro-standard/easyui.css" rel="stylesheet" type="text/css" />
    <link href="${ctx}/plugins/jquery-extensions/jquery-easyui-theme/icon.css" rel="stylesheet" type="text/css" />
    
	<script src="${ctx}/plugins/jquery-extensions/jquery-easyui-1.3.6/jquery.easyui.min.js" type="text/javascript"></script>
    
	<script src="${ctx}/plugins/jquery-extensions/release/jquery.jdirk.min.js" type="text/javascript"></script>
        
    <link href="${ctx}/plugins/jquery-extensions/icons/icon-all.min.css" rel="stylesheet" type="text/css" />
	<script src="${ctx}/plugins/jquery-extensions/release/jeasyui.icons.all.min.js"></script>

    <link href="${ctx}/plugins/jquery-extensions/release/jeasyui.extensions.min.css" rel="stylesheet" type="text/css" />
    <script src="${ctx}/plugins/jquery-extensions/release/jeasyui.extensions.all.min.js"></script>
	<%if(localePram=='zh'||localePram=='zh_cn'){%>
		<script src="${ctx}/plugins/jquery-extensions/locale/easyui-lang-zh_CN.js"></script>
	<%}else{%>
		<script src="${ctx}/plugins/jquery-extensions/locale/easyui-lang-en.js"></script>
	<%}%>
	<script type="text/javascript" src="${ctx}/plugins/common/common.js"></script>
    <script src="${ctx}/plugins/jquery-extensions/release/jeasyui.extend.all.js"></script>
    <!-- <script src="${ctx}/plugins/jquery-extensions/common/plugin-import.js"></script> -->
    
	
	<script type="text/javascript">
		var ctx = '${ctx}';
	    var msgTitle="${i18nMap['system.message.title']}";
	    $(function () {
	        var cookieTheme = $.cookie("themeName"), theme = cookieTheme ? cookieTheme : $.util.$.easyui.theme();
	        $.easyui.theme(theme);
	        disabledContextMenu();
	    });
	    /**
	    *动态加载mydate97插件，只需要调用此方法，即可实现国际化
	    */
	    function loadMyDate97(){
	    	<%if(localePram=='zh'||localePram=='zh_cn'){%>
	    		$.util.loadJs('${ctx}/plugins/jquery-extensions/plugins/My97DatePicker/zh_WdatePicker.js');
			<%}else{%>
	    		$.util.loadJs('${ctx}/plugins/jquery-extensions/plugins/My97DatePicker/en_WdatePicker.js');
			<%}%>
	    }
	    /**
	     * combobox插件下拉框的值为空时，设置下拉框显示的值
	     * @param element
	     */
	    function comboboxClear(element){
	    	var value = $('#' + element).val();
	    	if(null == value || "" == value){
	    		$('#' + element).combobox('setValue', value);
	    	}
	    }
	    /**
	     * combobox插件下拉框,提供传递JSON和数组(value和text定义的数组)时，返回符合形式的下拉框，提供自适应高度
	     * 传递参数options（包含addAll和combobox的配置参数）
	     * @param arr
	     */
	    $.fn.easySelect=function(obj, v_options){
	    	if(null != obj){
	    		var arr=[];
	    		if(v_options&&v_options.addAll){
	    			arr.push({"value":"","text":"-请选择-"});
	    		}
	    		if($.type(obj) === "array"){
	    			arr=$.array.merge(arr,obj);
	    		}else{
		    		arr = jsonToArr(obj,arr);
	    		}
	    		
	    		var height=arr.length*24;
	    		if(arr.length*24>$("html").height())
	    			height=$("html").height()-$("html").height()/2;
	    		var options={
		    		data:arr,   
		    		panelHeight:height
	    		};
	    		$.extend(options,v_options);
	    		$(this).combobox(options);
	    	}
	    }
	    //获取以数据字典父节点为基础的有效的子节点Map， 以{dictcode,dictname}封装为Map用于页面展示
	    function getDictJSON(pid){
	    	var json = null;
	   		$.ajax({
		   		  type: "POST",
		   		  url: ctx+"/datadict/getDictJSON",
		   		  data: {"pid": pid},
		   		  async: false,
		   		  success: function(data){
		   			  json = eval(data);
		   		  }
	   		});
	   		return json;
	    }
	    
	    //获取以数据字典父节点为基础的有效的子节点List
	    function getDictArr(pid){
	    	var arr = null;
	   		$.ajax({
		   		  type: "POST",
		   		  url: ctx+"/datadict/getDictArr",
		   		  data: {"pid": pid},
		   		  async: false,
		   		  success: function(data){
		   			arr = eval(data);
		   		  }
	   		});
	   		return arr;
	    }
	    /**
	     * 根据key获得json串中的值
	     * @param attrJSON
	     * @param attr
	     * @returns
	     */
	    function attrToName(attrJSON, attr){
	    	if(null != attrJSON && "" != attrJSON){
	    		return attrJSON[attr];
	    	}
	    	return attr;
	    }
	    /**
	     * json返回指定格式的arr
	     * @param json
	     * @returns {Array}
	     */
	     function jsonToArr(json,arr){
	    	var data=arr?arr:[];
	    	for(var i in json){
	    		data.push({"value":i,"text":json[i]});
	    	}
	    	return data;
	     }
	</script>
<style type="text/css">
.button-mini-icon {
	line-height: 16px;
	padding-left: 16px;
	display: inline-block;
	}
</style>